//
//  TTTalkingModel.m
//  TeacherNet
//
//  Created by slz on 2017/12/12.
//  Copyright © 2017年 bnsr. All rights reserved.
//

#import "TTTalkingModel.h"

@implementation TTTalkingListModel
+ (NSDictionary *)modelContainerPropertyGenericClass {
    return @{@"talkingList" : [TTTalkingModel class]
             };
}
+ (NSDictionary *)modelCustomPropertyMapper {
    return @{@"talkingList" : @"topicQuestions"
             };
}
@end

@implementation TTTalkingModel
+ (NSDictionary *)modelCustomPropertyMapper {
    return @{@"title" : @"title",
             @"userName":@"username",
             @"time":@"question_time",
             @"watchTimes":@"watch_times",
             @"replyTimes":@"reply_times",
             @"publishTime":@"question_time",
             @"talkId":@"id",
             @"isGood":@"elite",
             @"isTop":@"stick"
             };
}
@end
